package pers.books.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pers.books.dao.UserDao;
import pers.books.entity.User;
import pers.books.service.UserService;

/**
 * 
 * UserServiceImpl
 *
 * @author 姜治昊
 * @time 2018年5月13日 下午10:26:45
 */
@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;
	
	@Override
	public User getUserByTel(String tel) {
		// TODO Auto-generated method stub
		return userDao.getUserByTel(tel);
	}

}
